Calendar: Add default case to appease Coverity
authorDaniel Boles <dboles@src.gnome.org>
Tue, 1 Aug 2017 18:42:17 +0000 (19:42 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Tue, 1 Aug 2017 19:15:14 +0000 (20:15 +0100)
commit881d7c6442e9ad711ea29db8b7d0f09501c73b47
tree33a97bd00a41ec1c71a63fb6aeac25b8913441f1
parenteddbfc65a9a5752ea70c99c390b07a922abc01d3
Calendar: Add default case to appease Coverity

CID 1432024 (#1 of 1): Uninitialized scalar variable (UNINIT)
2. uninit_use_in_call: Using uninitialized value rect.x when calling
calendar_arrow_rectangle.

Add a default case to the switch which will bail out with
g_assert_not_reached(), which should reassure Coverity that the method
is always called with a valid value that is handled in the switch.
gtk/gtkcalendar.c